Skip to content

fix(ci): CLI flag fix + json 2.21.2 (CVE-2026-71847) - #107

Open
kulesh wants to merge 2 commits into
mainfrom
claude/review-pr-61-I9K3z
Open

fix(ci): CLI flag fix + json 2.21.2 (CVE-2026-71847)#107
kulesh wants to merge 2 commits into
mainfrom
claude/review-pr-61-I9K3z

Conversation

@kulesh

@kulesh kulesh commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Linked Issue (Required)

Closes #106

Problem and User Value (Required)

Two issues:

  1. The weekly dependency maintenance workflow fails every run with error: unknown option '--yes' — the Claude Code CLI doesn't have a --yes flag.
  2. json 2.20.0 has CVE-2026-71847: use-after-free crash in JSON::ResumableParser#partial_value on truncated duplicate-key streams. Fix: >= 2.21.2. This causes bundler-audit to fail on all PRs.

Solution Summary (Required)

  1. Replace --yes with --dangerously-skip-permissions in the dependency maintenance workflow (correct flag for non-interactive CI).
  2. Bump json 2.20.0 → 2.21.2 in Gemfile.lock to resolve CVE-2026-71847.

Note: ANTHROPIC_API_KEY must still be added as a repository secret for the workflow to function.

Verification (Required)

CI validates: bundler-audit (should now pass with json fix), Ruby test and lint, Class-1 Readiness, CodeQL.

Scope Declaration (Required)

This PR fixes the workflow CLI flag and bumps json in the lockfile. No other changes.

Contributor Acknowledgements (Required)

  • I linked an approved issue for this PR.
  • I ran relevant tests/lint and reported results above.
  • I reviewed every changed line and can explain it.
  • I read and agree to follow CONTRIBUTING.md.
  • I read and agree to follow CODE_OF_CONDUCT.md.

claude added 2 commits August 10, 2026 12:36
Replace `--yes` (invalid) with `--dangerously-skip-permissions` for
CI environments where interactive permission prompts aren't possible.

https://claude.ai/code/session_01CDVXuEGetaSKyDrq7p6yrk
Fixes use-after-free crash in JSON::ResumableParser#partial_value on
truncated duplicate-key streams.

https://claude.ai/code/session_01CDVXuEGetaSKyDrq7p6yrk
@kulesh kulesh changed the title fix(ci): use correct Claude Code CLI flag for non-interactive mode fix(ci): CLI flag fix + json 2.21.2 (CVE-2026-71847) Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix weekly dependency maintenance workflow CLI flag

2 participants